/* Hashtable stocks
*
* by Twilight Suzuka + Kuchiki Rukia + Urahara Kisuke
* 
*
* This file is provided as is (no warranties).
*/

#if defined _hashtable_stocks_included
    #endinput
#endif
#define _hashtable_stocks_included

// Stocks for get_nth, to ease use.
stock hashtable_get_nth_bool(hashtable_id, nth, start[] = "",&success = 0,&bool:val)
	return hashtable_get_nth(hashtable_id, nth, start, success, val, 1)
stock hashtable_get_nth_int(hashtable_id, nth, start[] = "",&success = 0,&val)
	return hashtable_get_nth(hashtable_id, nth, start, success, val, 1)
stock hashtable_get_nth_float(hashtable_id, nth, start[] = "",&success = 0,&Float:val)
	return hashtable_get_nth(hashtable_id, nth, start, success, val, 1)
stock hashtable_get_nth_string(hashtable_id, nth, start[] = "",&success = 0,val[],len)
	return hashtable_get_nth(hashtable_id, nth, start, success, val, len)
stock hashtable_get_nth_vector(hashtable_id, nth, start[] = "",&success = 0,Float:val[3])
	return hashtable_get_nth(hashtable_id, nth, start, success, val, 3)

// Stocks for first, to ease use.
stock hashtable_first_bool(hashtable_id, index[], ret[], len, &success = 0, &bool:val)
	return hashtable_first(hashtable_id,index,ret,len,success,val,1)
stock hashtable_first_int(hashtable_id, index[], ret[], len, &success = 0, &val)
	return hashtable_first(hashtable_id,index,ret,len,success,val,1)
stock hashtable_first_float(hashtable_id, index[], ret[], len, &success = 0, &Float:val)
	return hashtable_first(hashtable_id,index,ret,len,success,val,1)
stock hashtable_first_string(hashtable_id, index[], ret[], len, &success = 0, val[], val_len)
	return hashtable_first(hashtable_id,index,ret,len,success,val,val_len)
stock hashtable_first_vector(hashtable_id, index[], ret[], len, &success = 0, Float:val[3])
	return hashtable_first(hashtable_id,index,ret,len,success,val,3)

// Stocks for next, to ease use.
stock hashtable_next_bool(hashtable_id, index[], ret[], len, &success = 0, &bool:val)
	return hashtable_next(hashtable_id,index,ret,len,success,val,1)
stock hashtable_next_int(hashtable_id, index[], ret[], len, &success = 0, &val)
	return hashtable_next(hashtable_id,index,ret,len,success,val,1)
stock hashtable_next_float(hashtable_id, index[], ret[], len, &success = 0, &Float:val)
	return hashtable_next(hashtable_id,index,ret,len,success,val,1)
stock hashtable_next_string(hashtable_id, index[], ret[], len, &success = 0, val[], val_len)
	return hashtable_next(hashtable_id,index,ret,len,success,val,val_len)
stock hashtable_next_vector(hashtable_id, index[], ret[], len, &success = 0, Float:val[3])
	return hashtable_next(hashtable_id,index,ret,len,success,val,3)

// Stocks for prev, to ease use.
stock hashtable_prev_bool(hashtable_id, index[], ret[], len, &success = 0, &bool:val)
	return hashtable_prev(hashtable_id,index,ret,len,success,val,1)
stock hashtable_prev_int(hashtable_id, index[], ret[], len, &success = 0, &val)
	return hashtable_prev(hashtable_id,index,ret,len,success,val,1)
stock hashtable_prev_float(hashtable_id, index[], ret[], len, &success = 0, &Float:val)
	return hashtable_prev(hashtable_id,index,ret,len,success,val,1)
stock hashtable_prev_string(hashtable_id, index[], ret[], len, &success = 0, val[], val_len)
	return hashtable_prev(hashtable_id,index,ret,len,success,val,val_len)
stock hashtable_prev_vector(hashtable_id, index[], ret[], len, &success = 0, Float:val[3])
	return hashtable_prev(hashtable_id,index,ret,len,success,val,3)

// Stocks for last, to ease use.
stock hashtable_last_bool(hashtable_id, index[], ret[], len, &success = 0, &bool:val)
	return hashtable_last(hashtable_id,index,ret,len,success,val,1)
stock hashtable_last_int(hashtable_id, index[], ret[], len, &success = 0, &val)
	return hashtable_last(hashtable_id,index,ret,len,success,val,1)
stock hashtable_last_float(hashtable_id, index[], ret[], len, &success = 0, &Float:val)
	return hashtable_last(hashtable_id,index,ret,len,success,val,1)
stock hashtable_last_string(hashtable_id, index[], ret[], len, &success = 0, val[], val_len)
	return hashtable_last(hashtable_id,index,ret,len,success,val,val_len)
stock hashtable_last_vector(hashtable_id, index[], ret[], len, &success = 0, Float:val[3])
	return hashtable_last(hashtable_id,index,ret,len,success,val,3)

